WC_Asaas\Gateway\Gateway A

Total Complexity 55
Dependencies 11
Dependents 8
Total lines 478
Lines of code 205
Logical lines of code 123
Comment lines 192
Methods 24
Properties 8

Methods 24

Method Rating Maintainability Complexity Lines of code
set_customer()
S
49 6 30
enable_disable_customer_notifications()
S
56 5 17
process_admin_options()
S
59 4 14
process_admin_shared_options()
S
59 4 13
get_customer()
S
63 4 11
send_checkout_failure()
S
58 3 16
get_shared_fields()
S
65 4 9
is_available()
S
62 3 11
get_order_total()
S
62 3 10
init_logger()
S
68 2 7
add_checkout_validation_errors()
S
68 2 7
send_checkout_failure_response()
S
69 2 7
validate_min_total_field()
S
68 2 7
__construct()
S
58 1 14
get_error_code()
S
82 1 3
get_logger()
S
82 1 3
init_form_fields()
S
80 1 3
replace_config_url()
S
80 1 3
get_admin_settings()
S
82 1 3
add_validation_errors()
S
75 1 4
validate_fields()
S
80 1 3
get_type()
S
82 1 3
get_api_key()
S
82 1 3
setup_api()
S
75 1 4